/*
 * CarlosThread.java
 *
 * Created on 29 de Junho de 2007, 10:58
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Carlos;

/**
 *
 * @author JAKE
 */
public class CarlosThread extends Thread{
    
    private CarlosCanvas cCanvas;
    
    /** Creates a new instance of CarlosThread */
    public CarlosThread(CarlosCanvas c) {
        this.cCanvas=c;
    }
    

    public void run() {
        while(true){
            cCanvas.pintaCarlos();
        }
    }
    
}
